<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<!-- Metas -->
	    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <meta name="author" content="Vision" />
	    <!-- Links -->
	    <link rel="icon" type="image/png" href="images/favicon.png" />
	    <link href="https://fonts.googleapis.com/css?family=Work+Sans:400,600&display=swap" rel="stylesheet">
	    <link rel="stylesheet" href="icofont.min.css">
	    <link href="css/bootstrap.min.css" rel="stylesheet" />
	    <link href="css/slick.css" rel="stylesheet" />
	    
	    <link href="css/main.css" rel="stylesheet" />
		<title></title>
		<link rel="stylesheet" href="layui/css/layui.css"/>
	</head>
	<body>
		<header id="home">
    <div class="container">
      <nav class="navbar navbar-expand-lg navbar-light ">
        <!-- Change Logo Img Here -->
        <a class="navbar-brand" href="#"><img src="images/logo.svg" alt=""></a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
          <div class="interactive-menu-button">
            <a href="#">
              <span>Menu</span>
            </a>
          </div>
        </button>
        <div class="collapse navbar-collapse" id="navbarSupportedContent">
          <ul class="navbar-nav mr-auto">
            <li class="nav-item">
              <!-- Nav Link -->
              <a class="nav-link" data-scroll href="index.html">主页.<span class="sr-only">(current)</span></a>
            </li>
            <li class="nav-item">
              <!-- Nav Link -->
              <a class="nav-link" data-scroll href="food.html">食品.</a>
            </li>
            <li class="nav-item">
              <!-- Nav Link -->
              <a class="nav-link" data-scroll href="batch.html">批次.</a>
            </li>
            <li class="nav-item">
              <!-- Nav Link -->
              <a class="nav-link" data-scroll href="user.html">人员管理.</a>
            </li>
            <li class="nav-item">
              <!-- Nav Link -->
              <a class="nav-link" data-scroll href="about.html">关于我们.</a>
            </li>
			<li class="nav-item active">
			  <!-- Nav Link -->
			  <a class="nav-link" data-scroll href="log.html">日志.</a>
			</li>
            <!-- <li class="nav-item dropdown">
             
              <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">EN</a>
              <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                <a class="dropdown-item" href="#">DE </a>
                <a class="dropdown-item" href="#">ES </a>
              </div>
            </li> -->
          </ul>
          <a data-scroll href="my.html" class="contact-btn form-inline my-2 my-lg-0">
            <!-- Contacgt Us Button -->
            <button>个人信息</button>
          </a>
        </div>
      </nav>
    </div>
    </header>
		<table class="layui-hide" id="log" lay-filter="log"></table>
	</body>
	<script src="layui/layui.js"></script>
	<script>
		layui.use(['layer','table'],function(){
			var layer = layui.layer
			,table = layui.table
			
			
			table.render({
			    elem: '#log'
			    ,url:'http://localhost:8080/foodman/log/findAll'
				,cellMinWidth:120
			    ,cols: [[
			      {field:'id', title:'日志编号', fixed: 'left', unresize: true,align:'center', sort: true}
			      ,{field:'operator', title:'操作人ID',align:'center'}
				  // ,{field:'operatorname', title:'操作人姓名',align:'center', width:120}
			      ,{field:'operatedetail', title:'操作信息'}
			      ,{field:'operateresult', title:'操作结果',  sort: true}
			      ,{field:'operatetime', title:'操作时间'}
			    ]]
			    ,page: true
			  });//列表渲染结束
			
			
			
		})
	</script>
</html>
